
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGDistanceLOD.h>
#include <OpenSG/OSGDistanceLODBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_DistanceLOD_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_DistanceLOD()
{
    scope* osg_DistanceLODBase_scope = new scope(
    class_< osg::DistanceLODBase, bases< osg::Group > , boost::noncopyable >("DistanceLODBase", no_init)
//        .def_readonly("CenterFieldMask", &osg::DistanceLODBase::CenterFieldMask)
//        .def_readonly("RangeFieldMask", &osg::DistanceLODBase::RangeFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::DistanceLODBase::MTInfluenceMask)
        .def("getClassType", &osg::DistanceLODBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::DistanceLODBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::DistanceLODBase::*)() )&osg::DistanceLODBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::DistanceLODBase::*)() const)&osg::DistanceLODBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::DistanceLODBase::getContainerSize)
        //.def("getCenter", (osg::Pnt3f& (osg::DistanceLODBase::*)() )&osg::DistanceLODBase::getCenter, return_value_policy< copy_const_reference >())
        .def("getCenter", (const osg::Pnt3f& (osg::DistanceLODBase::*)() const)&osg::DistanceLODBase::getCenter, return_value_policy< copy_const_reference >())
        //.def("getRange", (osg::Real32& (osg::DistanceLODBase::*)(const osg::UInt32) )&osg::DistanceLODBase::getRange, return_value_policy< reference_existing_object >())
        //.def("getRange", (osg::MFReal32& (osg::DistanceLODBase::*)() )&osg::DistanceLODBase::getRange, return_value_policy< reference_existing_object >())
        .def("getRange", (const osg::MFReal32& (osg::DistanceLODBase::*)() const)&osg::DistanceLODBase::getRange, return_value_policy< reference_existing_object >())
        .def("setCenter", &osg::DistanceLODBase::setCenter)
        .def("getBinSize", &osg::DistanceLODBase::getBinSize)
        .def("copyToBin", &osg::DistanceLODBase::copyToBin)
        .def("copyFromBin", &osg::DistanceLODBase::copyFromBin)
        .def("create", &osg::DistanceLODBase::create)
        .def("createEmpty", &osg::DistanceLODBase::createEmpty)
        .def("shallowCopy", &osg::DistanceLODBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::DistanceLODBase::NextFieldId;
    scope().attr("RangeFieldId") = (int)osg::DistanceLODBase::RangeFieldId;
    scope().attr("CenterFieldId") = (int)osg::DistanceLODBase::CenterFieldId;

    delete osg_DistanceLODBase_scope;

    class_< osg::DistanceLOD, bases< osg::DistanceLODBase > , boost::noncopyable, osg::DistanceLODRefPtr >("DistanceLOD", no_init)
        .def("changed", &osg::DistanceLOD::changed)
        .def("dump", &osg::DistanceLOD::dump, osg_DistanceLOD_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::DistanceLODPtr>();
    implicitly_convertible<osg::DistanceLODRefPtr, osg::DistanceLODPtr>();
    implicitly_convertible<osg::DistanceLODPtr, osg::GroupPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::DistanceLODPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::DistanceLODPtr>);
}

